<ul class="env-list-wrap app-list-wrap">
	<li class="env-item" ng-repeat="app in alData">
		<div class="block app-img pos-r left mr20">
			<span class="block left env-img" ng-style="{'background-image':'url('+baseUrl+app.temImg+')'}"  ui-sref="app({appId:app.id})"></span>
			<span class="app-status pos-a block" ng-class="{start:app.status=='STARTED',loading:app.status=='LOADING',stop:app.status=='STOPPED'}"></span>
		</div>
		<div class="env-brief left mr20">
			<p class="env-name" ng-bind="app.appName"  ui-sref="app({appId:app.id})"></p>
			<p class="env-storage"><span ng-bind="app.memory|bitConvert"></span>/<span ng-bind="app.disk|bitConvert"></span></p>
		</div>
		<div class="env-service left mr20">
			<span class="block left env-service-item" ng-repeat="service in app.services" ng-style="{'background-image':'url('+baseUrl+service.serImg+')'}" ng-class="{mr10:!$last}" title="{{service.serName}}"></span>
		</div>
		<div class="env-instance left mr20">实例数：<span ng-bind="app.instance"></span></div>
		<div class="env-action right">
			<a class="env-action-item block left" ng-click="opts.stopApp(app)" ng-show="app.status == 'STARTED'">停止</a>
			<a class="env-action-item block left" ng-click="opts.reboot(app)" ng-show="app.status == 'STARTED'">重启</a>
			<a class="env-action-item block left" ng-click="opts.deleteApp(app)" ng-show="app.status!='LOADING'">删除</a>
			<a class="env-action-item block left" ng-click="opts.start(app)" ng-show="app.status == 'STOPPED'">启动</a> 
			<a class="env-action-item block left" ng-click="deleteEnv(app)" ng-show="app.status != 'LOADING'">更新</a>
			<span ng-show="app.status=='LOADING'" class="loading"></span>
		</div>
	</li>
</ul>